﻿@model PagedList.IPagedList<e_commerce.Models.OrderModel>
@using PagedList.Mvc
@{
    ViewBag.Title = "OrderRecycle";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

<div class="message-wrap">
    <div class="admin-nav">
        <div class="nav-text">
            <span>
               @TempData["f-nav"] > @TempData["s-nav"]
            </span>
        </div>
    </div>
    <div class="message-wrap-tab">
        <div class="box">
            <div class="box-head">
                <div class="box-title">
                    <img src="~/Image/icon_order.png" />
                    <span>订单回收站</span>
                </div>
            </div>
            <div class="box-body">
                <div class="wrap-tab">
                    <table class="layui-table" lay-skin='row'>
                        <colgroup>
                            <col width="150">
                            <col width="200">
                            <col>
                        </colgroup>
                        <thead>
                            <tr>
                                <th>商品名</th>
                                <th>数量</th>
                                <th>单价</th>
                                <th>买家备注</th>
                                <th>总计金额</th>
                                <th>回收原因</th>
                            </tr>
                        </thead>
                        <tbody>
                            @foreach (var item in Model)
                            {
                                <tr>
                                    <td>@item.GoodsName</td>
                                    <td>@item.Count</td>
                                    <td>￥@item.Price</td>
                                    <td>@item.ClientMark</td>
                                    <td>￥@item.Price</td>
                                    <td>@item.CycleReson</td>
                                </tr>
                            }
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
            
        <div class="wrap-pages">
            @Html.PagedListPager(Model,page=>Url.Action("OrderRecycle",new { page}))
        </div>
    </div>
</div>

@section Styles{
}

@section Scripts{
}

